import axios from '@/utils/request'

const login = (url: string, data: object) => {
  return axios({
    url,
    method: 'POST',
    data
  })
}

export { login }
